﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace TjZheng.Example.MVC.Controllers
{
    public class JavascriptController : Controller
    {
        public ActionResult JQueryExtent()
        {
            return View();
        }

        /// <summary>
        /// 一、call 的简单用法
        /// </summary>
        /// <returns></returns>
        public ActionResult CallAndApply1()
        {
            return View();
        }
        /// <summary>
        /// 二、call 继承用法与改进
        /// </summary>
        /// <returns></returns>
        public ActionResult CallAndApply2()
        {
            return View();
        }

        /// <summary>
        /// 三、自定义类和继承改进（prototype）
        /// </summary>
        /// <returns></returns>
        public ActionResult CallAndApply3()
        {
            return View();
        }

        /// <summary>
        /// setInterval定时任务
        /// </summary>
        /// <returns></returns>
        public ActionResult TimePlan()
        {
            return View();
        }
    }
}
